//
//  HYUserCenterView.h
//  HaiYue
//
//  Created by skyline on 2018/1/5.
//  Copyright © 2018年 skyline. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HYUserModel;
typedef NS_ENUM(NSInteger,HYUserCenterViewEvent)
{
    HYUserCenterViewEventWallte = 301,  //钱包
    HYUserCenterViewEventIntegral,    //积分/代金券
    HYUserCenterViewEventRedRule,     //红包规则
    HYUserCenterViewEventMaster,      //一键拜师
    HYUserCenterViewEventPrentice,//徒弟申请
    HYUserCenterViewEventStore,       //巅峰商城
    HYUserCenterViewEventPerson,      //个人中心
    HYUserCenterViewEventNews,        //消息中心
    HYUserCenterViewEventSetting,     //设置中心
    
  /*HYUserCenterViewEventChange,      //修改密码
    HYUserCenterViewEventPayPassword, //支付密码
    HYUserCenterViewEventRecord,      //钱包记录
    HYUserCenterViewEventFeedback,    //停运补偿
    HYUserCenterViewEventServer,      //联系客服
    HYUserCenterViewEventQQ,          //加入QQ群
   */

};

@protocol HYUserCenterViewDelegate <NSObject>
- (void)actionWithEvent:(HYUserCenterViewEvent)event;
@end
@interface HYUserCenterView : UIView
@property (nonatomic, assign) id<HYUserCenterViewDelegate>delegate;
@property (nonatomic, strong) HYUserModel *model;
@end
